/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.race.entity;

import com.lczyfz.istep.common.utils.excel.annotation.ExcelField;
import org.hibernate.validator.constraints.Length;

import com.lczyfz.istep.common.persistence.DataEntity;

/**
 * 竞赛团队列表Entity
 * @author CY
 * @version 2017-04-17
 */
public class RaceTeam extends DataEntity<RaceTeam> {
	
	private static final long serialVersionUID = 1L;
	private String teamName;		// 团队名称
	private String teamLogo;		// 团队logo
	
	public RaceTeam() {
		super();
	}

	public RaceTeam(String id){
		super(id);
	}

	@Length(min=0, max=64, message="团队名称长度必须介于 0 和 64 之间")
	@ExcelField(title = "团队名", align = 2, sort = 10)
	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}
	
	@Length(min=0, max=128, message="团队logo长度必须介于 0 和 128 之间")
	public String getTeamLogo() {
		return teamLogo;
	}

	public void setTeamLogo(String teamLogo) {
		this.teamLogo = teamLogo;
	}











	private  String teamId;
	private  String userId;

	public String getTeamId() {return teamId;}
	public void setTeamId(String teamId) {this.teamId = teamId;}

	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}






}